package com.yznmall.mall.service;

import com.yznmall.mall.dto.ShopExecution;
import com.yznmall.mall.entity.Shop;
import com.yznmall.mall.exceptions.ShopOperationException;

import java.io.File;
import java.io.InputStream;

public interface ShopService {
    ShopExecution getShopList(Shop shop,int pageIndex,int pageSize);
    ShopExecution addShop(Shop shop, InputStream shopImgInputStream,String imgName);
    Shop getShopById(long shopId);
    ShopExecution modifyShop(Shop shop,InputStream shopimgInputStream,String fileName) throws ShopOperationException;
}
